package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.bean.EmployeeBean;
import org.springframework.stereotype.Service;

import java.time.LocalDate;


public interface IEmployeeService {

    public void add(EmployeeBean employee);
    public void dimission(Integer id);
    public void update(Integer id,String job);
    public IPage<EmployeeBean> findByItem(Integer pageNO, String name,
                            LocalDate startDate, LocalDate endDate);
    public EmployeeBean findById(Integer id);
}
